<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<table>
{foreach from=$ccv item=code}
	<tr
		{if $code.passflg == 1}
			style="background-color: yellow;"
		{/if}
	>
	<td>{$code.stepnum}</td>
	<td>{$code.code}</td>
{/foreach}
</table>
</body>
</html>